package org.scheduler4j;


public class InvalidDurationException extends Scheduler4JException {

	private static final long serialVersionUID = 1L;

	private static final String ERROR_MESSAGE = "end day must be greater than start day";

	public InvalidDurationException() {
		super(ERROR_MESSAGE);
	}

	public InvalidDurationException(String message, Throwable cause) {
		super(ERROR_MESSAGE + message, cause);
	}

	public InvalidDurationException(String message) {
		super(ERROR_MESSAGE + message);
	}

	public InvalidDurationException(Throwable cause) {
		super(ERROR_MESSAGE, cause);
	}

}
